package com.zmn.oms.model.dto.work.modify;

import com.alibaba.fastjson.annotation.JSONField;
import com.zmn.oms.common.dto.OmsBaseOperator;
import com.zmn.oms.common.dto.OmsOperator;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 类描述：更改分配DTO
 *
 * @author wangxiaokun
 * @since 2021/07/20 14:33
 */
@Data
@ToString(callSuper = true)
public class ChangeAssignmentDTO extends OmsOperator {

    /**
     * 抢单类型
     */
    private Integer grabType;

    /**
     * 抢单工程师类型
     */
    private Integer agent;

    /**
     * 抢单结束时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date grabEndTime;
}
